home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectShow / Players / Jukebox / readme.txt < prev    next >
Encoding:
Text File  |  2001-10-10  |  2.4 KB  |  55 lines

  1. DirectShow Sample -- Jukebox
  2. ----------------------------
  3.  
  4. Description
  5.  
  6. Video jukebox application.
  7.  
  8. This application scans a directory for media files and displays a list of the 
  9. relevant file names.  The user can play an individual file or play all of the 
  10. media files in order.  The jukebox also displays information about the filter 
  11. graphs that it creates, including the names of the filters, the names of their
  12. corresponding pins, and the event codes that are generated.
  13.  
  14. Note:  This sample requires Microsoft Foundation Class Library 4.2 (Mfc42.dll).
  15.  
  16. Note: In order to launch GraphEdit to view the currently selected file, the GraphEdt.exe
  17. utility must exist in a directory on your search path (like c:\windows or c:\winnt).
  18.  
  19.  
  20. User's Guide
  21.  
  22. If a directory name is specified as a command-line argument, the jukebox scans 
  23. that directory at startup.  Otherwise, it scans the default SDK media directory, 
  24. which is located at Samples\Multimedia\Media under the SDK root directory.  
  25. The jukebox displays a list of all the media files in the directory, from which 
  26. the user can select a file to play.
  27.  
  28. When you select a video file from the files list, Jukebox will display its
  29. first video frame in the "Video Screen" window.  If you select an audio-only
  30. file, the video screen will be painted gray.
  31.  
  32. The jukebox offers the following user-interface elements:
  33.  
  34. Play, Stop, Pause, and FrameStep buttons: Use these buttons to control graph
  35.     playback.  (The FrameStep button might be disabled, if the graph does not
  36.     support the IVideoFrameStep interface.) 
  37.  
  38. Thru and Loop buttons: Click the Thru button to play through the entire file list, 
  39.     starting from the current selection.  Click the Loop button to loop the same 
  40.     file repeatedly.  These two buttons are mutually exclusive. 
  41.  
  42. Mute button: Mutes the audio. 
  43.  
  44. Filters, Input Pins, and Output Pins: When the jukebox creates a graph, 
  45.     it displays a list of the filters in the graph.  If the user selects one 
  46.     of the filter names, the jukebox displays a list of the filter's input pins 
  47.     and a list of the filter's output pins. 
  48.  
  49. Display Events: If this box is checked, the jukebox displays the event codes 
  50.     that it receives.  To clear the list, click the Clear button. 
  51.  
  52. Properties button: To view a filter's property pages, select the filter name 
  53.     and click the Properties button.  If the filter does not support 
  54.     a property page, the button is disabled. 
  55.